using System;

namespace jSLCore.Client.Presentation.BaseControl.DialogMessage
{
    public class WarningBox : jMessageBox
    {
#if SILVERLIGHT
        public static void ShowDialog(string message)
        {
            ShowDialog(message,null);
        }
#endif

        public static void ShowDialog(string message,BaseControl parent)
        {
            new WarningBox(message).ShowDialog(parent);
        }

        public WarningBox(string message) : base(message, jMessageBoxIconType.Warning)
        {
        }

    }
}